package com.woniu.sharepark.platformsystem.log.service.impl;

import com.woniu.sharepark.platformsystem.log.dao.LogMapper;
import com.woniu.sharepark.platformsystem.log.pojo.Log;
import com.woniu.sharepark.platformsystem.log.service.LogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zy
 * @date 2019/6/3 20:03
 */
@Service
public class LogServiceImpl implements LogService {

    @Resource
    private LogMapper logMapper;

    @Override
    public List<Log> selectLogsByCondition(String loOperate, Integer currentPage, Integer pageSize) {
        return logMapper.queryLogsByCondition(loOperate,currentPage,pageSize);
    }

    @Override
    public int deleteLogs(Integer[] ids) {
        return logMapper.deleteLogs(ids);
    }
}
